<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!-- Copyright 1997 The Open Group, All Rights Reserved -->
<title>gamma</title>
</head><body bgcolor=white>
<center>
<font size=2>
The Single UNIX &reg; Specification, Version 2<br>
Copyright &copy; 1997 The Open Group

</font></center><hr size=2 noshade>
<h4><a name = "tag_000_005_431">&nbsp;</a>NAME</h4><blockquote>
gamma, signgam - log gamma function
(<b>LEGACY</b>)
</blockquote><h4><a name = "tag_000_005_432">&nbsp;</a>SYNOPSIS</h4><blockquote>
<pre><code>

#include &lt;<a href="math.h.html">math.h</a>&gt;

double gamma(double <i>x</i>);
extern int signgam;
</code>
</pre>
</blockquote><h4><a name = "tag_000_005_433">&nbsp;</a>DESCRIPTION</h4><blockquote>
The
<i>gamma()</i>
function performs identically to
<i><a href="lgamma.html">lgamma()</a></i>,
including the use of
<i>signgam</i>.
<p>
This interface need not be reentrant.
</blockquote><h4><a name = "tag_000_005_434">&nbsp;</a>RETURN VALUE</h4><blockquote>
Refer to
<i><a href="lgamma.html">lgamma()</a></i>.
</blockquote><h4><a name = "tag_000_005_435">&nbsp;</a>ERRORS</h4><blockquote>
None.
</blockquote><h4><a name = "tag_000_005_436">&nbsp;</a>EXAMPLES</h4><blockquote>
None.
</blockquote><h4><a name = "tag_000_005_437">&nbsp;</a>APPLICATION USAGE</h4><blockquote>
This interface is functionally equivalent to
<i><a href="lgamma.html">lgamma()</a></i>.
</blockquote><h4><a name = "tag_000_005_438">&nbsp;</a>FUTURE DIRECTIONS</h4><blockquote>
None.
</blockquote><h4><a name = "tag_000_005_439">&nbsp;</a>SEE ALSO</h4><blockquote>
Return to
<i><a href="lgamma.html">lgamma()</a></i>.
</blockquote><h4>DERIVATION</h4><blockquote>
Derived from Issue 1 of the SVID.
</blockquote><hr size=2 noshade>
<center><font size=2>
UNIX &reg; is a registered Trademark of The Open Group.<br>
Copyright &copy; 1997 The Open Group
<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]

</font></center><hr size=2 noshade>
</body></html>

